import { connect } from "react-redux";

import { setPageTitle, setLocation } from "../../action/system";
import Detail from "../../component/vehicle/Detail.jsx";

export default connect((state) => ({}),
    (dispatch) => ({
        setPage: (location, title) => {
            dispatch(setPageTitle(title));
            dispatch(setLocation(location));
        }
    }))(Detail);